package service;


public class Mango extends Fruit {

    public Mango(double pricePerJin) {
        super(pricePerJin);
    }


    @Override
    public double calculateTotalPrice(int weight) {
        return pricePerJin * weight;
    }
}
